move one column value down by one column in pandas

38

df['gdp'] = df['gdp'].shift(-1)

Comments

Submit
0 Comments